/**
*  
* @Function 订阅关系信息实体类 
* @ProjectName credit-data-platform 
* @PackageName com.py.credit.entity    
* @FileName SubscriptionRelation.java    
* @Date 2018年5月11日上午10:32:13
* @Author Min DongXv
* @Copyright (c) 2018, 金电联行 All Rights Reserved.   
*   
*/  
package com.py.credit.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @Function 订阅关系信息实体类
 * @ClassName SubscriptionRelation
 * @Date 2018年5月11日 上午10:32:13
 * @Author Min DongXv
 * 
 */
public class SubscriptionRelation implements Serializable {

	private static final long serialVersionUID = 1519352209646286423L;
	/**
	 * 订阅人ID
	 */
	private Integer subscriberId;
	/**
	 * 订阅时间
	 */
	private Date subscriptionTime;
	/**
	 * 订阅区县
	 */
	private String subscriptionRegion;
	/**
	 * 真实姓名
	 */
	private String realName;
	/**
	 * 版本名称
	 */
	private String versionName;
	/**
	 * 目录ID
	 */
	private Integer infoId;
	/**
	 * 目录名称
	 */
	private String infoName;
	/**
	 * 资源名称
	 */
	private String resourceName;
	/**
	 * 资源ID
	 */
	private Integer resourceId;
	/**
	 * 更新频率 M:每月,Q:每季度,Y:每年
	 */
	private String updateFrequency;
	/**
	 * 统计开始时间
	 */
	private Date startDate;
	/**
	 * 统计结束时间
	 */
	private Date endDate;

	public SubscriptionRelation() {

	}

	/**
	 * @return the subscriberId
	 */
	public Integer getSubscriberId() {
		return subscriberId;
	}

	/**
	 * @param subscriberId
	 *            the subscriberId to set
	 */
	public void setSubscriberId(Integer subscriberId) {
		this.subscriberId = subscriberId;
	}

	/**
	 * @return the subscriptionTime
	 */
	public Date getSubscriptionTime() {
		return subscriptionTime;
	}

	/**
	 * @param subscriptionTime
	 *            the subscriptionTime to set
	 */
	public void setSubscriptionTime(Date subscriptionTime) {
		this.subscriptionTime = subscriptionTime;
	}

	/**
	 * @return the realName
	 */
	public String getRealName() {
		return realName;
	}

	/**
	 * @param realName
	 *            the realName to set
	 */
	public void setRealName(String realName) {
		this.realName = realName;
	}

	/**
	 * @return the versionName
	 */
	public String getVersionName() {
		return versionName;
	}

	/**
	 * @param versionName
	 *            the versionName to set
	 */
	public void setVersionName(String versionName) {
		this.versionName = versionName;
	}

	/**
	 * @return the infoId
	 */
	public Integer getInfoId() {
		return infoId;
	}

	/**
	 * @param infoId
	 *            the infoId to set
	 */
	public void setInfoId(Integer infoId) {
		this.infoId = infoId;
	}

	/**
	 * @return the infoName
	 */
	public String getInfoName() {
		return infoName;
	}

	/**
	 * @param infoName
	 *            the infoName to set
	 */
	public void setInfoName(String infoName) {
		this.infoName = infoName;
	}

	/**
	 * @return the resourceName
	 */
	public String getResourceName() {
		return resourceName;
	}

	/**
	 * @param resourceName
	 *            the resourceName to set
	 */
	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	/**
	 * @return the resourceId
	 */
	public Integer getResourceId() {
		return resourceId;
	}

	/**
	 * @param resourceId
	 *            the resourceId to set
	 */
	public void setResourceId(Integer resourceId) {
		this.resourceId = resourceId;
	}

	/**
	 * @return the updateFrequency
	 */
	public String getUpdateFrequency() {
		return updateFrequency;
	}

	/**
	 * @param updateFrequency
	 *            the updateFrequency to set
	 */
	public void setUpdateFrequency(String updateFrequency) {
		this.updateFrequency = updateFrequency;
	}

	/**
	 * @return the startDate
	 */
	public Date getStartDate() {
		return startDate;
	}

	/**
	 * @param startDate
	 *            the startDate to set
	 */
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	/**
	 * @return the endDate
	 */
	public Date getEndDate() {
		return endDate;
	}

	/**
	 * @param endDate
	 *            the endDate to set
	 */
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	/**
	 * @return the subscriptionRegion
	 */
	public String getSubscriptionRegion() {
		return subscriptionRegion;
	}

	/**
	 * @param subscriptionRegion
	 *            the subscriptionRegion to set
	 */
	public void setSubscriptionRegion(String subscriptionRegion) {
		this.subscriptionRegion = subscriptionRegion;
	}

	/**
	 *
	 * @Function TODO
	 * @FileName SubscriptionRelation.java
	 * @MethodName toString
	 * @return
	 * @Date 2018年5月11日 上午11:34:44
	 * @Author Min DongXv
	 *
	 */
	@Override
	public String toString() {
		return "SubscriptionRelation [subscriberId=" + subscriberId + ", subscriptionTime=" + subscriptionTime
				+ ", realName=" + realName + ", versionName=" + versionName + ", infoId=" + infoId + ", infoName="
				+ infoName + ", resourceName=" + resourceName + ", resourceId=" + resourceId + ", updateFrequency="
				+ updateFrequency + ", startDate=" + startDate + ", endDate=" + endDate + "]";
	}
}
